FUNCTION
json.as_integer_or_null
function as_integer_or_null(): integer?Convert this JSON integer value to an integer.
All JSON values that can be converted to integer with as_integer_or_null() can also be converted
to big_integer with as_big_integer_or_null(), though the reverse is not true, since
big_integer values may fall outside the integer range.
Returns
this JSON integer as an integer, or null if this JSON value is not an integer
Since
0.14.16
© 2026 Chromia